﻿@model IEnumerable<AutomatedTestDataManagement.Models.ViewTestSuite>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.SuiteID)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.SuiteName)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.SuiteDescription)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Order)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.TestID)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.TestName)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.TestDescription)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.StepDescription)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.StepKindID)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.DataID)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.DataTable)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.StepKind)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.TestStepID)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.SuiteID)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.SuiteName)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.SuiteDescription)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Order)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.TestID)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.TestName)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.TestDescription)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.StepDescription)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.StepKindID)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DataID)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DataTable)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.StepKind)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.TestStepID)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
        </td>
    </tr>
}

</table>
